package com.xbongbong.pro.dataset.service;

import com.xbongbong.paas.domain.entity.ext.CkPaasFormDataEntityExt;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.saas.domain.entity.WorkOrderFlowUserEntity;

import java.util.List;
import java.util.Map;

/**
 * @author  gzt
 * @Description
 * @Date 19:55 2022/10/11
 **/

public interface CkDataService {
    List<CkPaasFormDataEntityExt> findEntitys(Map<String, Object> entity);
    
    List<CkPaasFormDataEntityExt> findEntitysBySql(String sql);
    
    List findListMapBySql(String sql);

    Integer countBySql(String sql);

    void insertBatch(List<WorkOrderFlowUserEntity> workOrderFlowUserEntityList) throws XbbException;
}
